define(['app'], function(app) {
	'use strict';

	var controller = function controller($scope, A,GoPage) {
		
	       A.get_urlList(function(urlList){
	       	$scope.urlList = urlList;
	       })
	       
	       //页面跳转
	       $scope.onshow_url = function(url){
	       	GoPage.go_states(url);
	       }
	       
	}

	controller.$inject = ['$scope', 'A','GoPage'];
	
	return app.registerController("actrl",controller);
});